package com.amc.dao;

import java.util.List;

import com.amc.dto.ComplaintView;
import com.amc.dto.FoodView;
import com.amc.dto.OrderView;

public interface IOrderDao {

	// 下單
	boolean placeOrder(OrderView order);

	// 查询用户所有订单
	List<OrderView> queryAllOrder(String customerId);

	// 查询订单详情
	OrderView queryOrderById(String orderId);

	// 确定收货
	boolean receiptOrder(String orderId);

	// 取消订单
	boolean cancellOrder(String orderId);

	// 投诉
	boolean complaintMerchant(ComplaintView complaint);
	
	//菜单某个菜的详细信息
	FoodView queryFood(String foodId);
	
	
	//用户取消订单
	boolean refuseOrder(String orderId);
}
